using System;
using System.Collections.Generic;
using System.Text;

using OpenSocial.Net.Atom;

namespace OpenSocial.Net.People
{
	public class Friend : AtomEntry
	{
		ulong _userID = 0;
		Link _thumbnailLink = null;

		public ulong UserID
		{
			get { return _userID; }
			set { _userID = value; }
		}

		public Link ThumbnailLink
		{
			get
			{
				if (_thumbnailLink == null && Links.ContainsKey("thumbnail"))
				{
					_thumbnailLink = Links["thumbnail"];
				}

				return _thumbnailLink;
			}
		}
	}
}
